set(src_list
    ${CMAKE_CURRENT_SOURCE_DIR}/detect_connect_anomalies.cc
)


target_sources(hccl PRIVATE
    ${src_list}
)

if(NOT BUILD_OPEN_PROJECT OR (BUILD_OPEN_PROJECT AND KERNEL_MODE))
    target_sources(ccl_kernel PRIVATE
        ${src_list}
    )
endif()